package com.yixing.tech.common.enums;

/**
 * 钉钉 webhook 消息推送url
 */
public enum DingDingPushUrl {

    ZH_URL("https://oapi.dingtalk.com/robot/send?access_token=871d57f026e736373947f64eb2c546d6ffe4fd3efa96bbf1ac33d4c413058ebf", "预警001","中环推送URL"),

    MS_URL("https://oapi.dingtalk.com/robot/send?access_token=f81e3b2d71da324bb2cce3e1cf66be069e4a334ebebc031550dbbf85472f56b2", "","内部推送URL"),
    MS_URL1("https://oapi.dingtalk.com/robot/send?access_token=258d0a7a43f69f4f7d43beafe3f698abca31e9d101eddbbfce605452678f51cf", "1","内部推送URL1");
    private String url;

    /**
     * 消息关键字   钉钉机器人配置的有关键字的时候
     */
    private String keyWord;

    private String desc;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    DingDingPushUrl(String url, String keyWord, String desc) {
        this.url = url;
        this.keyWord = keyWord;
        this.desc = desc;
    }

}
